Button
You can use theButton
function to determine whether the user pressed the
mouse button.
FUNCTION Button: Boolean;DESCRIPTION
TheButton
function looks in the Operating System event queue for a mouse-down event. If it finds one, theButton
function returnsTRUE
; otherwise, it returnsFALSE
. To determine whether the mouse button is still down after a mouse-down event, use theStillDown
function.SEE ALSO
See "The Event Queue" on page 2-83 for information about the Operating System
event queue.